#pragma once
#include "UIlib.h"
#include "PopupMenu.h"

using namespace DuiLib;

class CDuiFrameWnd : public WindowImplBase
{
public:
	CDuiFrameWnd();
	virtual LPCTSTR GetWindowClassName() const;
	virtual CDuiString GetSkinFile();
	virtual CDuiString GetSkinFolder();
	virtual CDuiString GetSkinType();
	virtual void InitWindow();
	void SetAutoRun(BOOL bAutoRun);
	virtual LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);

	static DWORD WINAPI ReFresh(LPVOID lparam);
	static DWORD WINAPI ConfigSaveThread(LPVOID lparam);
	CPopupMenu popmeun;
	DUI_DECLARE_MESSAGE_MAP()

	BOOL m_bUpdateConfig;
	MyConfigInfo m_configInfo;
};
